html,
body,
div,
p,
ul,
li {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font: 14px/1.6 "Microsoft YaHei", "PingFang SC", "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* * {
  color: #4a4a4a;
  text-shadow: 0 0 0.3px #4a4a4a;
} */

ul,
li {
  list-style: none;
}

a {
  color: #2c2e3b;
  text-decoration: none;
}

body {
  background-color: #f5f5f5;
  /* background-image: linear-gradient(#f9f9f9 50%, #fff); */
}

.no-text-decoration {
  text-decoration: none;
}

.text-decoration {
  text-decoration: underline;
}

/* 修改富文本编辑器添加代码后样式 */
pre {
  border-radius: 5px;
  padding: 5px;
  color: #333;
  background-color: #f8f8f8 !important;
  white-space: pre-wrap;
  border: 1px dashed #ddd;
}

pre code {
  white-space: pre-wrap;
  border-radius: 5px;
}

/* 分类、标签通用样式 */
.result-title {
  padding: 0 20px;
}

/* code标签文字 */
pre code.hljs {
  word-break: break-all;
}

/* 安装按钮 */
.install-btn-container {
  margin-top: 40px;
}

/* 安装按钮样式 */
.install-btn {
  color: rgba(0, 78, 235, 1);
  padding: 10px 40px;
  display: inline-block;
  border-radius: 20px;
  background-color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

/* 图片预览器样式调整 */
.el-image-viewer__canvas img {
  max-height: 60% !important;
  max-width: 60% !important;
}

.detail-post-content li {
  list-style: auto !important;
}